﻿using Core.DataAccess.Model;
using Core.DataAccess.Model.iTool.Gateway;
using HandlerContextOptions;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace UserCenter.Interfaces
{
    public interface IRoleBasics
    {
        Task<RoleRegisterResult> RegisterAsync(RoleRegisterRequset requset);
        Task<RoleModifyResult> ModifyAsync(RoleModifyRequset requset);
        Task<List<SysRole>> GetSysRoles(Pagination pagination);
        Task<List<SysUserRole>> GetSysUserRoles();
        Task<RoleDeleteResult> Delete(RoleDeleteRequset requset);
    }
}
